[INFO] cloning repository https://github.com/iamyxsh/elliptic-curve-cryptography-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamyxsh/elliptic-curve-cryptography-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamyxsh%2Felliptic-curve-cryptography-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamyxsh%2Felliptic-curve-cryptography-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e39ab6f1dac8116202cc589068e4c63e25acf8f9
[INFO] checking iamyxsh/elliptic-curve-cryptography-rust against master#cced03bfd61a304243a34504618ecec86c17063f for pr-157082
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamyxsh%2Felliptic-curve-cryptography-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iamyxsh/elliptic-curve-cryptography-rust
[INFO] finished tweaking git repo https://github.com/iamyxsh/elliptic-curve-cryptography-rust
[INFO] tweaked toml for git repo https://github.com/iamyxsh/elliptic-curve-cryptography-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iamyxsh/elliptic-curve-cryptography-rust on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iamyxsh/elliptic-curve-cryptography-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-primes v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 490df7a802a321e0e61d1a2127a410818939e6c90e682318b09e62dcf4c2688f
[INFO] running `Command { std: "docker" "start" "490df7a802a321e0e61d1a2127a410818939e6c90e682318b09e62dcf4c2688f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "490df7a802a321e0e61d1a2127a410818939e6c90e682318b09e62dcf4c2688f" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "490df7a802a321e0e61d1a2127a410818939e6c90e682318b09e62dcf4c2688f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "490df7a802a321e0e61d1a2127a410818939e6c90e682318b09e62dcf4c2688f" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking num-primes v0.3.0
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking elliptic-curve-cryptography-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `thiserror::Error`
[INFO] [stdout]  --> src/elliptic_curve/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FieldError`
[INFO] [stdout]   --> src/elliptic_curve/mod.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |         finite_field_trait::{FieldError, FiniteFieldTrait},
[INFO] [stdout]    |                              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature
[INFO] [stdout]   --> src/elliptic_curve/mod.rs:50:62
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn addition<'a>(&'a self, c: &'a Point, d: &'a Point) -> Result<Point, CurveError> {
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/elliptic_curve/elliptic_curve_trait.rs:9:62
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn addition<'a>(&'a self, c: &'a Point, d: &'a Point) -> Result<Point, impl Error>;
[INFO] [stdout]    |                                                              ------------------------- return type from trait method defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate
[INFO] [stdout]    = note: we are soliciting feedback, see issue #121718 <https://github.com/rust-lang/rust/issues/121718> for more information
[INFO] [stdout]    = note: `#[warn(refining_impl_trait_reachable)]` (part of `#[warn(refining_impl_trait)]`) on by default
[INFO] [stdout] help: replace the return type so that it matches the trait
[INFO] [stdout]    |
[INFO] [stdout] 50 -     fn addition<'a>(&'a self, c: &'a Point, d: &'a Point) -> Result<Point, CurveError> {
[INFO] [stdout] 50 +     fn addition<'a>(&'a self, c: &'a Point, d: &'a Point) -> std::result::Result<elliptic_curve::point::Point, impl std::error::Error> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/elliptic_curve/mod.rs:85:15
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn double(c: &BigUint) -> point::Point {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/elliptic_curve/mod.rs:89:24
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn scalar_multiple(c: &BigUint, d: &BigUint) -> point::Point {
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/elliptic_curve/mod.rs:89:37
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn scalar_multiple(c: &BigUint, d: &BigUint) -> point::Point {
[INFO] [stdout]    |                                     ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/elliptic_curve/mod.rs:50:76
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn addition<'a>(&'a self, c: &'a Point, d: &'a Point) -> Result<Point, CurveError> {
[INFO] [stdout]    |                      --           --            --                         ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |            |             |
[INFO] [stdout]    |                      |            |             the lifetime is named here
[INFO] [stdout]    |                      |            the lifetime is named here
[INFO] [stdout]    |                      the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn addition<'a>(&'a self, c: &'a Point, d: &'a Point) -> Result<Point, CurveError<'a>> {
[INFO] [stdout]    |                                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thiserror::Error`
[INFO] [stdout]  --> src/elliptic_curve/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FieldError`
[INFO] [stdout]   --> src/elliptic_curve/mod.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |         finite_field_trait::{FieldError, FiniteFieldTrait},
[INFO] [stdout]    |                              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature
[INFO] [stdout]   --> src/elliptic_curve/mod.rs:50:62
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn addition<'a>(&'a self, c: &'a Point, d: &'a Point) -> Result<Point, CurveError> {
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/elliptic_curve/elliptic_curve_trait.rs:9:62
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn addition<'a>(&'a self, c: &'a Point, d: &'a Point) -> Result<Point, impl Error>;
[INFO] [stdout]    |                                                              ------------------------- return type from trait method defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate
[INFO] [stdout]    = note: we are soliciting feedback, see issue #121718 <https://github.com/rust-lang/rust/issues/121718> for more information
[INFO] [stdout]    = note: `#[warn(refining_impl_trait_reachable)]` (part of `#[warn(refining_impl_trait)]`) on by default
[INFO] [stdout] help: replace the return type so that it matches the trait
[INFO] [stdout]    |
[INFO] [stdout] 50 -     fn addition<'a>(&'a self, c: &'a Point, d: &'a Point) -> Result<Point, CurveError> {
[INFO] [stdout] 50 +     fn addition<'a>(&'a self, c: &'a Point, d: &'a Point) -> std::result::Result<elliptic_curve::point::Point, impl std::error::Error> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/elliptic_curve/mod.rs:85:15
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn double(c: &BigUint) -> point::Point {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> src/elliptic_curve/mod.rs:89:24
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn scalar_multiple(c: &BigUint, d: &BigUint) -> point::Point {
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/elliptic_curve/mod.rs:89:37
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn scalar_multiple(c: &BigUint, d: &BigUint) -> point::Point {
[INFO] [stdout]    |                                     ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/elliptic_curve/mod.rs:50:76
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn addition<'a>(&'a self, c: &'a Point, d: &'a Point) -> Result<Point, CurveError> {
[INFO] [stdout]    |                      --           --            --                         ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |            |             |
[INFO] [stdout]    |                      |            |             the lifetime is named here
[INFO] [stdout]    |                      |            the lifetime is named here
[INFO] [stdout]    |                      the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn addition<'a>(&'a self, c: &'a Point, d: &'a Point) -> Result<Point, CurveError<'a>> {
[INFO] [stdout]    |                                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.19s
[INFO] running `Command { std: "docker" "inspect" "490df7a802a321e0e61d1a2127a410818939e6c90e682318b09e62dcf4c2688f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "490df7a802a321e0e61d1a2127a410818939e6c90e682318b09e62dcf4c2688f", kill_on_drop: false }`
[INFO] [stdout] 490df7a802a321e0e61d1a2127a410818939e6c90e682318b09e62dcf4c2688f
